<?php /* Smarty version Smarty-3.1.12, created on 2013-04-24 22:41:01
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/match/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1547588995107feecd8af72-92050172%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ee4ceb718a4d8c28abb0a24f74714be3b2911fdd' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/match/index.tpl',
      1 => 1366836035,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1547588995107feecd8af72-92050172',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5107feece143e7_95436516',
  'variables' => 
  array (
    'matchID' => 0,
    'data' => 0,
    'teamWonID' => 0,
    'submitLock' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5107feece143e7_95436516')) {function content_5107feece143e7_95436516($_smarty_tpl) {?><div class="page-header">
<h1>Match <small>MatchID:<?php echo $_smarty_tpl->tpl_vars['matchID']->value;?>
</small></h1> 
</div>
     <?php if (is_array($_smarty_tpl->tpl_vars['data']->value['data']['team1'])&&count($_smarty_tpl->tpl_vars['data']->value['data']['team1'])>0&&is_array($_smarty_tpl->tpl_vars['data']->value['data']['team2'])&&count($_smarty_tpl->tpl_vars['data']->value['data']['team2'])>0){?>
     <?php echo $_smarty_tpl->getSubTemplate ("match/info_message.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<!--       <div class="row-fluid"> -->
<!-- 	        <div class="span5 alert-success" align="center" style="text-transform:uppercase; line-height:30px; margin-bottom:5px; border-bottom: 1px #aaa solid; border-radius: 5px;"><strong><?php echo $_smarty_tpl->tpl_vars['data']->value['data']['team1'][0]['Team'];?>
</strong></div> -->
<!-- 	        <div class="span2" align="center"></div> -->
<!-- 	        <div class="span5 alert-error" align="center" style="text-transform:uppercase; line-height:30px; margin-bottom:5px; border-bottom: 1px #aaa solid; border-radius: 5px;"><strong><?php echo $_smarty_tpl->tpl_vars['data']->value['data']['team2'][0]['Team'];?>
</strong></div> -->
<!--         </div> -->
        <div class="row-fluid">
          <div class="span5">
           <div class="alert-success" align="center" style="text-transform:uppercase; line-height:30px; margin-bottom:5px; border-bottom: 1px #aaa solid; border-radius: 5px;"><strong><?php echo $_smarty_tpl->tpl_vars['data']->value['data']['team1'][0]['Team'];?>
</strong></div>
          	<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value['data']['team1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
          		<?php echo $_smarty_tpl->getSubTemplate ("match/matchfound_player.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('teamID'=>1,'teamWonID'=>$_smarty_tpl->tpl_vars['teamWonID']->value), 0);?>

          	<?php } ?>
			
          </div>
          <div class="span2" align="center">
          	<?php echo $_smarty_tpl->getSubTemplate ("match/middleArea_new.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

          </div>
          <div class="span5">
            <div class=" alert-error" align="center" style="text-transform:uppercase; line-height:30px; margin-bottom:5px; border-bottom: 1px #aaa solid; border-radius: 5px;"><strong><?php echo $_smarty_tpl->tpl_vars['data']->value['data']['team2'][0]['Team'];?>
</strong></div>
      
          	<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value['data']['team2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?> 

          		<?php echo $_smarty_tpl->getSubTemplate ("match/matchfound_player.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('teamID'=>2,'teamWonID'=>$_smarty_tpl->tpl_vars['teamWonID']->value), 0);?>
 
			<?php } ?>
		</div>
        </div>
        
        <div class="row-fluid">
			<div class="span6" id="matchChat">
			
				<!-- Chat includen -->
				<?php echo $_smarty_tpl->getSubTemplate ("match/chat/index.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

				
			</div>
			<div class="span6">
			
				<!-- Chat includen -->
				<?php echo $_smarty_tpl->getSubTemplate ("match/ts3/index.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

				
			</div>
		</div>
		
		
		
     <?php }else{ ?>
     	hier und so
     <?php }?>
      

<?php if ($_smarty_tpl->tpl_vars['submitLock']->value==false){?>
<?php echo $_smarty_tpl->getSubTemplate ("match/modals/submitResult.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("match/modals/cancelMatch.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("match/modals/cancelMatchSuccess.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("match/modals/cancelHardMatchSuccess.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }?>

<?php }} ?>